package com.bz.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.bz.common.PageInfo;
import com.bz.entity.BannerEntity;

public interface IBannerService {
    /**
     * 
     * 
     * @param parMap
     * @return
     */
    public PageInfo<BannerEntity> list(PageInfo page, LambdaQueryWrapper<BannerEntity> queryWrapper);

    /**
     * 添加
     * 
     * @param data
     */
    public void add(BannerEntity data);

    /**
     * 修改
     * 
     * @param data
     */
    public void update(BannerEntity data);

    /**
     * 删除
     * 
     * @param data
     */
    public void delete(Long id);

}
